package com.ushio.authservice.user.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LoginUserVo {

    @Schema(defaultValue = "用户id")
    private Long userId;

    @Schema(defaultValue = "用户名称")
    private String userName;

    @Schema(defaultValue = "用户昵称")
    private String userAccount;

    @Schema(defaultValue = "角色id")
    private Long roleId;

    @Schema(defaultValue = "部门id")
    private Long departmentId;

    @Schema(defaultValue = "电话")
    private Integer phone;

    @Schema(defaultValue = "邮箱")
    private String email;

    @Schema(defaultValue = "创建时间")
    private Date createTime;

    @Schema(defaultValue = "修改时间")
    private Date updateTime;

    @Schema(defaultValue = "创建用户")
    private Long createUser;

    @Schema(defaultValue = "修改用户")
    private Long updateUser;

    @Schema(defaultValue = "是否删除")
    private Boolean remove;

    @Schema(defaultValue = "信息")
    private String loginMsg;

    @Schema(defaultValue = "token")
    private String token;


}
